package com.zjp.mapper;

import cn.hutool.core.util.StrUtil;

import java.util.Map;

public class SQLProvider  {
    //生成查询SQL
    public String genQuerySQL(Map<String, String> requestPara, Class<?> repo) {
        //遍历DO中各个属性，拼凑selectSQL。
        //遍历DO中各个属性，拼凑whereSQL
        //拼凑自定义查询条件
        //拼凑完整SQL
        return StrUtil.EMPTY;
    }

    public String genDeleteSQL(Map<String, String> requestPara, Class<?> repo) {
        return StrUtil.EMPTY;
    }

    public String genUpdateSQL(Map<String, String> requestPara, Class<?> repo) {
        return StrUtil.EMPTY;
    }
}
